﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using TinyForum.DataObjects;

namespace TinyForum.Application
{
    [ServiceContract(Namespace = "http://www.tinyforum.com")]
    public interface ISiteApplication
    {
        [OperationContract]
        [FaultContract(typeof(ApplicationFaultDetail))]
        SettingDataObject GetSiteSettings();

        [OperationContract]
        [FaultContract(typeof(ApplicationFaultDetail))]
        void SaveSiteSettings(SettingDataObject setting);
    }
}
